package com.itheima.travel.service;

import com.itheima.travel.domain.Address;
import com.itheima.travel.domain.Order;
import com.itheima.travel.domain.User;

import java.util.Map;

public interface OrderService {

    Order save(User user, Address address);


    void updateState(Map<String,String> param);

    //根据订单号查询订单的支付状态
    boolean isPay(String oid);
}
